.sick-circle-detail {
  background-color: #f5f5f5;
  min-height: 100vh;
  position: relative;
}

/* 页面内容区域，排除顶部导航 */
.sick-circle-content {
  padding: 0 16px 60px;
  max-width: 800px;
  margin: 0 auto;
}

/* 头部导航样式已移至TopNav组件 */

/* 信息区块 */
.info-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.2s ease;
}

.info-section:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.info-item {
  display: flex;
  margin-bottom: 16px;
  font-size: 15px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f8f9fa;
}

.info-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.info-item .label {
  color: #3087ea;
  font-weight: 600;
  min-width: 100px;
  flex-shrink: 0;
  margin-right: 12px;
  font-size: 14px;
}

.info-item .value {
  color: #333;
  flex: 1;
  word-break: break-word;
  line-height: 1.6;
  font-size: 15px;
}

.detail-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.detail-image:hover {
  transform: scale(1.02);
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-top: 8px;
  border: 2px solid #f0f0f0;
  object-fit: cover;
}

/* 可点击的用户元素 */
.clickable-user {
  cursor: pointer;
  color: #3087ea;
  transition: color 0.2s ease;
}

.clickable-user:hover {
  color: #1e5f99;
  text-decoration: underline;
}

.clickable-avatar {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.clickable-avatar:hover {
  transform: scale(1.05);
}

/* 相关图片 */
.related-images {
  background: white;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image-container {
  text-align: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 互动区域 */
.interaction-area {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.stats {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.stat-item:hover {
  background: #e9ecef;
}

.stat-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

.stat-item.loading .stat-icon {
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.stat-count {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* 被采纳的建议 */
.adopted-suggestion {
  background: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.suggestion-header {
  margin-bottom: 12px;
}

.suggestion-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.suggestion-content {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  border-left: 3px solid #ffc107;
}

.suggestion-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.user-name {
  font-weight: 500;
  color: #333;
}

.reward {
  background: #ffc107;
  color: #333;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.suggestion-text {
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}

.suggestion-time {
  font-size: 12px;
  color: #666;
}

/* 评论列表 */
.comment-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f8f9fa;
}

.comment-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.comment-loading, .no-comments {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 16px 0;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #3087ea;
  transition: all 0.2s ease;
  position: relative;
}

.comment-item:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comment-user {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comment-user-info {
  flex: 1;
}

.comment-nickname {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  font-size: 15px;
}

.doctor-badge {
  background: linear-gradient(135deg, #3087ea, #1e5f99);
  color: white;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(48, 135, 234, 0.3);
}

.comment-time {
  font-size: 12px;
  color: #999;
}

.comment-content {
  color: #333;
  line-height: 1.6;
  margin-bottom: 12px;
  word-break: break-word;
  font-size: 15px;
}

.comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-opinion {
  flex: 1;
}

.opinion-btn {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.opinion-btn.support {
  background: #e8f5e8;
  color: #28a745;
}

.opinion-btn.oppose {
  background: #ffeaea;
  color: #dc3545;
}

.comment-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #666;
}

.support-count, .oppose-count {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.support-count:hover, .oppose-count:hover {
  background: #e9ecef;
}

.support-count.active {
  background: #d4edda;
  color: #155724;
  font-weight: 600;
}

.oppose-count.active {
  background: #f8d7da;
  color: #721c24;
  font-weight: 600;
}

/* 加载更多按钮 */
.load-more {
  text-align: center;
  margin-top: 20px;
}

.load-more-btn {
  background: #3087ea;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(48, 135, 234, 0.3);
}

.load-more-btn:hover:not(:disabled) {
  background: #1e5f99;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(48, 135, 234, 0.4);
}

.load-more-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 加载和错误状态 */
.loading, .error {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .sick-circle-content {
    padding: 0 12px 60px;
  }
  
  .info-section {
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
  }
  
  .info-item .label {
    min-width: auto;
    margin-right: 0;
    margin-bottom: 4px;
    font-size: 13px;
  }
  
  .info-item .value {
    font-size: 14px;
  }
  
  .stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat-item {
    padding: 10px 14px;
  }
  
  .comment-section {
    padding: 16px;
  }
  
  .comment-item {
    padding: 12px;
  }
  
  .comment-avatar {
    width: 36px;
    height: 36px;
  }
  
  .comment-nickname {
    font-size: 16px;
  }
  
  .comment-content {
    font-size: 14px;
  }
  
  .comment-stats {
    gap: 12px;
    font-size: 12px;
  }
  
  .load-more-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .sick-circle-content {
    padding: 0 8px 60px;
  }
  
  .info-section {
    padding: 12px;
    border-radius: 8px;
  }
  
  .interaction-area {
    padding: 16px;
  }
  
  .stats {
    gap: 16px;
  }
  
  .stat-item {
    padding: 8px 12px;
  }
  
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  
  .stat-count {
    font-size: 14px;
  }
  
  .comment-section {
    padding: 12px;
  }
  
  .comment-header h3 {
    font-size: 16px;
  }
  
  .comment-item {
    padding: 10px;
  }
  
  .comment-avatar {
    width: 32px;
    height: 32px;
  }
  
  .comment-nickname {
    font-size: 16px;
  }
  
  .comment-content {
    font-size: 13px;
  }
  
  .doctor-badge {
    font-size: 9px;
    padding: 2px 6px;
  }
}

/* 半透明深色遮罩层 */
.comment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* 评论弹窗(白色矩形框) */
.comment-popup {
  background: white;
  border-radius: 12px;
  width: 80%;
  height: 50vh;
  max-width: 400px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 评论列表 */
.popup-comment-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* 评论项 */
.popup-comment-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.popup-comment-item:last-child {
  margin-bottom: 0;
}

/* 头像区域 */
.comment-avatar-section {
  flex-shrink: 0;
}


.doctor-icon {
  color: white;
  font-size: 27px;
  font-weight: bold;
}

.user-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2196F3, #1976D2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.avatar-placeholder {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

/* 评论内容区域 */
.comment-content-section {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-nickname {
  font-weight: 600;
  color: #333;
  font-size: 21px;
}

.comment-date {
  font-size: 14px;
  color: #666;
}

.comment-text {
  color: #333;
  font-size: 21px;
  line-height: 1.4;
  margin-bottom: 12px;
  word-break: break-word;
}

/* 评论操作 */
.comment-actions {
  display: flex;
  gap: 16px;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: #666;
}

.action-icon {
  font-size: 21px;
}

.action-count {
  font-weight: 500;
}

/* 分隔线 */
.comment-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 12px 0;
}

/* 暂无评论 */
.no-comments-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.no-comments-text {
  color: #999;
  font-size: 16px;
  text-align: center;
}

/* 底部输入区域 */
.popup-input-area {
  background: #2c3e50;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
}

  .close-button {
    width: 53px;
    height: 53px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }

.close-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

  .input-container {
    flex: 1;
    height: 53px;
    display: flex;
    gap: 8px;
    align-items: center;
  }

.comment-input {
  flex: 1;
  padding: 15px 18px;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 21px;
  outline: none;
}

.comment-input::placeholder {
  color: #999;
}

  .send-button {
    width: 53px;
    height: 53px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }

.send-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
}

.send-button:disabled {
  background: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .comment-overlay {
    padding: 10px;
  }
  
  .comment-popup {
    max-width: 100%;
    max-height: 90vh;
  }
  
  .popup-comment-list {
    padding: 12px;
  }
  
  .popup-comment-item {
    gap: 10px;
    margin-bottom: 12px;
  }
  

  
  .doctor-icon {
    font-size: 16px;
  }
  
  .avatar-placeholder {
    font-size: 14px;
  }
  
  .comment-nickname {
    font-size: 16px;
  }
  
  .comment-text {
    font-size: 18px;
  }
  
  .popup-input-area {
    padding: 12px;
  }
  
  .comment-input {
    padding: 8px 10px;
    font-size: 13px;
  }
  
      .close-button,
    .send-button {
      width: 33px;
      height: 33px;
      font-size: 14px;
    }
}

@media (max-width: 480px) {
  .comment-overlay {
    padding: 5px;
  }
  
  .popup-comment-list {
    padding: 10px;
  }
  
  .popup-comment-item {
    gap: 8px;
    margin-bottom: 10px;
  }
  

  
  .doctor-icon {
    font-size: 14px;
  }
  
  .avatar-placeholder {
    font-size: 12px;
  }
  
  .comment-nickname {
    font-size: 16px;
  }
  
  .comment-text {
    font-size: 16px;
  }
  
  .popup-input-area {
    padding:  10px;
  }
  
  .comment-input {
    padding: 6px 8px;
    font-size: 12px;
  }
  
      .close-button,
    .send-button {
      width: 29px;
      height: 29px;
      font-size: 12px;
    }
}


